home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 39
/
Amiga Format CD39 (1999-04-13)(Future Publishing)(GB)[!][issue 1999-05].iso
/
-websites-
/
ppcrulez
/
files
/
ramlibpatch.lha
/
RamLibPatch
/
RamLibPatch.readme
< prev
next >
Wrap
Text File
|
1998-07-15
|
2KB
|
64 lines
Short: No more RAMLIB crashes !
Type: util/sys
Uploader: Andreas_Kleinert@t-online.de
Author: Andreas R. Kleinert
The "ramlib" task, which Exec uses to manage
library loading and initialization, under
OS 33-40 (Kickstart 1.2 upto AmigaOS 3.1)
only has a stack sized 2050 bytes.
This may easily lead to crashes, when
a) libraries load many other libraries,
that load many other libraries, that...
b) some of these libraries do need a
lot of stack space during initialization
Unfortunately, there is no legal way to
increase/swap stacks of foreign tasks
under AmigaOS.
However, this small patch program does
try it nevertheless, and it seems to
work flawlessly.
"RamLibPatch" increases the stacksize of
the "ramlib" task to 16 K (if not already
done) and furthermore should keep all
that nasty "ramlib guru #3" crashes away
from your system.
Usage: - call it from the Shell first,
and check, whether it works
for you
- make some extensive tests,
e.g. with datatypes and
other libraries
- if it works ok, put it to
your s:startup-sequence
right after SetPatch:
RamLibPatch >NIL: <NIL:
or
Run >NIL: <NIL: RamLibPatch
Drawbacks:
The old stack never will be given back
to the system, as also won't be the new
one - until the next reboot.
Well, last not least:
I'm not responsible for anything, there's no guarantee for anything,
and all mentioned trademarks are subject to their owners :-)
--
ARK, 15/Jul/98